package 时间复杂度.基础;

public class Text_2 {
    void fun1(int n,int m){
        int count = 0;
        for (int i = 0; i < n; i++) {
            count++;
        }
        for (int i = 0; i < m; i++) {
            count++;
        }
    }
    //时间复杂度为：O(n+m)
}
